<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>输入框</title>
	<link rel="stylesheet" href="../css/bootstrap.css">
	<style type="text/css">
		.glyphicon{
			top: 0px;
		}
	</style>
</head>
<body>
	<div class="container">
		<form action="#">
			<div class="form-group">
				<div class="input-group">
					<span class="input-group-addon glyphicon glyphicon-usd"></span>
					<input type="number" class="form-control" id="account" placeholder="输入金额">
					<span class="input-group-addon">.00</span>
				</div>
			</div>
			<div class="form-group">
				<div class="input-group">
					<span class="input-group-addon">
						<input type="checkbox"class="margin-top: 15px;">
					</span>
					<input type="number" class="form-control" id="username" placeholder="输入用户名">
				</div>
			</div>
		</form>
	</div>
	<script src="../js/jquery-3.4.1.js" type="text/javascript"></script>
	<script src="../js/bootstrap.js"></script>
	<script type="text/javascript">
		let account = document.getElementById('account')
		account.onblur = function() {
			console.log(this.value)
		}
	</script>
</body>
</html>